package com.hustzp.com.xichuangzhu.model;

/**
 * Created by fujiangren on 16/5/29.
 *  首月摘录
 */

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

@DatabaseTable(tableName = "quotes")
public class Review implements Serializable{
    @DatabaseField(columnName = "id")
    private Integer id;

    @DatabaseField(columnName = "quote")
    private String quote;

    @DatabaseField(columnName = "author_id")
    private Integer author_id;

    @DatabaseField(columnName = "author")
    private String author;

    @DatabaseField(columnName = "work_id")
    private Integer work_id;

    @DatabaseField(columnName = "work")
    private String work;

    @DatabaseField(columnName = "wygtfs_error")
    private String wygtfs_error;

    @DatabaseField(columnName = "updated_at")
    private String updated_at;

    @DatabaseField(columnName = "quote_tr")
    private String quote_tr;

    @DatabaseField(columnName = "author_tr")
    private String author_tr;

    @DatabaseField(columnName = "work_tr")
    private String worwork_trk_tr;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

    public String getAuthor_tr() {
        return author_tr;
    }

    public void setAuthor_tr(String author_tr) {
        this.author_tr = author_tr;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuote() {
        return quote;
    }

    public void setQuote(String quote) {
        this.quote = quote;
    }

    public String getQuote_tr() {
        return quote_tr;
    }

    public void setQuote_tr(String quote_tr) {
        this.quote_tr = quote_tr;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public Integer getWork_id() {
        return work_id;
    }

    public void setWork_id(Integer work_id) {
        this.work_id = work_id;
    }

    public String getWorwork_trk_tr() {
        return worwork_trk_tr;
    }

    public void setWorwork_trk_tr(String worwork_trk_tr) {
        this.worwork_trk_tr = worwork_trk_tr;
    }

    public String getWygtfs_error() {
        return wygtfs_error;
    }

    public void setWygtfs_error(String wygtfs_error) {
        this.wygtfs_error = wygtfs_error;
    }

    @Override
    public String toString() {
        return "Review{" +
                "author='" + author + '\'' +
                ", id=" + id +
                ", quote='" + quote + '\'' +
                ", author_id=" + author_id +
                ", work_id=" + work_id +
                ", work='" + work + '\'' +
                ", wygtfs_error='" + wygtfs_error + '\'' +
                ", updated_at='" + updated_at + '\'' +
                ", quote_tr='" + quote_tr + '\'' +
                ", author_tr='" + author_tr + '\'' +
                ", worwork_trk_tr='" + worwork_trk_tr + '\'' +
                '}';
    }
}
